package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.Destination;
import cn.wolfcode.luowowo.domain.Region;
import cn.wolfcode.luowowo.query.DestinationQuery;
import cn.wolfcode.luowowo.query.RegionQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 用户服务接口
 */
public interface IDestinationService {
    Destination get(String id);

    List<Destination> list();

    List<Destination> getDestByRegionId(String rid);

    Page list(DestinationQuery qo,String parentId);

    void save(String info,String id);

    void delete(String id);

    List<Destination> getToasts(String parentId);

    List<Destination> getDestByRegionIdForApi(String regionId);

    Destination getByName(String keyword);
}
